projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f58f4
)
(cc-bytecomp-ignore-obsolete): Use byte-compile-disable-warning.
author
Glenn Morris
<rgm@gnu.org>
Sun, 28 Oct 2007 23:50:30 +0000
(23:50 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Sun, 28 Oct 2007 23:50:30 +0000
(23:50 +0000)
lisp/progmodes/cc-bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-bytecomp.el
b/lisp/progmodes/cc-bytecomp.el
index 5a69df4e45769706d91b25a528db9a5159b1d5a6..935cba76fcf3e0baa36f62a7baf2eeed3c20dc7f 100644
(file)
--- a/
lisp/progmodes/cc-bytecomp.el
+++ b/
lisp/progmodes/cc-bytecomp.el
@@
-395,8
+395,8
@@
Don't use within `eval-when-compile'."
(defun cc-bytecomp-ignore-obsolete (form)
;; Wraps a call to `byte-compile-obsolete' that suppresses the warning.
- (let ((byte-compile-warnings
-
(delq 'obsolete (append byte-compile-warnings nil)))
)
+ (let ((byte-compile-warnings
byte-compile-warnings))
+
(byte-compile-disable-warning 'obsolete
)
(byte-compile-obsolete form)))
(defmacro cc-bytecomp-obsolete-fun (symbol)